package org.sws.domain.task.repository;

import org.sws.domain.task.model.entity.TaskEntity;

import java.util.List;

/**
 * @Author sws
 * @Date 2025/3/24 16:00
 * @description:
 */
public interface ITaskRepository {
    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);
}
